<?php
// Note: This file is included from the library/Vanilla/Vanilla.Control.DiscussionForm.php class.
// 
// Load the category selector
if (!defined('IN_VANILLA')) exit();

echo '<div id="Form" class="StartDiscussion">

	<div id="MergeModTools">
   <fieldset>'
      .$this->Get_Warnings()
      .$this->Get_PostBackForm('frmPostMergeMod', 'post', 'extension.php?PostBackAction=Merge').
'<input type="hidden" value="'.$_GET['DiscussionID'].'" name="currentDisc"/><ul>';

   echo '<li>
      <label for="idTopic">'.$this->Context->GetDefinition('DiscussionIDtoMerge').'</label>
      <input id="idTopic" type="text" name="newDisc" class="DiscussionBox" maxlength="30" value="" />
   </li>';


   echo '<div class="Submit">
      <input type="submit" name="btnSave" value="'.$this->Context->GetDefinition('MergeThisDiscussion').'" class="Button SubmitButton StartDiscussionButton" onclick="'
      ."Wait(this, '".$this->Context->GetDefinition('Wait')."');"
      .'"/>';
      echo '
	<a href="#" class="CancelButton">&nbsp;</a>
   </div>';


   echo'</form>
   </fieldset>
</div>
</div>';

?>